<#include "admin/home.html"/>
<#macro main>
    <h3 class="field-title">新增用户</h3>
    <div class="m-form">
        <form id="dataForm">
            <div class="formitm">
                <label class="lab">用户名：</label>
                <div class="ipt">
                    <input type="text" name="loginName" placeholder="请输入用户名" required/>
                </div>
            </div>
            <div class="formitm">
                <label class="lab">姓名：</label>
                <div class="ipt">
                    <input type="text" name="name" placeholder="请输入姓名" required/>
                </div>
            </div>
            <div class="formitm">
                <label class="lab">手机：</label>
                <div class="ipt">
                    <input type="text" name="mobile" placeholder="请输入手机号码" required/>
                </div>
            </div>
            <div class="formitm">
                <label class="lab">邮箱：</label>
                <div class="ipt">
                    <input type="text" name="email" placeholder="请输入邮箱" />
                </div>
            </div>
            <div class="formitm">
                <label class="lab">启用：</label>
                <div class="ipt">
                    <label class="iSwitch">
                        <input type="checkbox" name="enabled" checked="checked" value="1">
                        <i></i>
                    </label>
                </div>
            </div>

            <div class="formitm formitm-1">
                <span class="btn" onclick="doSubmit()">提交</span>
            </div>
        </form>
    </div>

</#macro>

<#macro tplJs>
    <script type="text/javascript" src="${resCtx}/js/admin/user.js"></script>
</#macro>